<?php
class Mycode extends WoniuModel
{
	public function getFile($id){
		$query = $this->db->query("select * from caroltc_files where id=".$id);
		if($query->num_rows() > 0)
		{
   			return $query->row_array(); 
		}   
	}
}

?>